Email based diary using gnus

Introduction

In my usage I feel gnus is general purpose reader. I use mainly for mails and rss feeds. Recently I found it has nice feature called email based diary. It’s useful for using gnus as todo manager, you can set appointments with this feature as well. Suppose If I want to set appointment with my friend who has similar setup of gnus this feature will be useful.

Getting started

NNDiary Back End

In simple terms, any message with below headers are considered as diary messages

  • X-Diary-Minute: 0
  • X-Diary-Hour: 12, 20-24
  • X-Diary-Dom: 1
  • X-Diary-Month: 8
  • X-Diary-Year: 2020-2020
  • X-Diary-Dow: *
  • X-Diary-Time-Zone: *

Above sets appointments "August 1st 2020, at 12:00"

  • In order to use nndiary back end you need few configuration
    • You need to create a file ‘.nndiary’
      • ^X-Diary
    • Configure select methods, then launch gnus
      ;; This to avoid conflict with EXWM new emacs window
      (global-set-key (kbd "<f8>") execute-extended-command)
      (setq nndiary-mail-sources '((file :path "~/.nndiary")))
      (setq gnus-secondary-select-methods '((nndiary "diary")))
      (setq gnus-read-newsrc-file nil)
      (setq gnus-use-dribble-file nil)
      (setq gnus-always-read-dribble-file nil)
      
    • Start emacs with above configuration
      emacs -Q --eval="(execute-extended-command)"
      
Copyright 2020-2021 nerding_it ( HTML).
Last updated 2021-07-30 Fri 19:07.
Built with Emacs 27.2 (Org mode 9.4.4).
Subscribe to Weekly News Letter
We'll never share your email with anyone else.